<template>
  <f7-page>
    <f7-navbar back-link="Back" title="Dynamic Route"></f7-navbar>
    <f7-block strong>
      <ul>
        <li><b>Url:</b> {{$f7route.url}}</li>
        <li><b>Path:</b> {{$f7route.path}}</li>
        <li><b>Hash:</b> {{$f7route.hash}}</li>
        <li><b>Params:</b>
          <ul>
            <li :key="key" v-for="(value, key) in $f7route.params">
              <b>{{key}}:</b> {{value}}
            </li>
          </ul>
        </li>
        <li><b>Query:</b>
          <ul>
            <li :key="key" v-for="(value, key) in $f7route.query">
              <b>{{key}}:</b> {{value}}
            </li>
          </ul>
        </li>
        <li><b>Route:</b> {{$f7route.route.path}}</li>
      </ul>
    </f7-block>
    <f7-block strong>
      <f7-link @click="$f7router.back()">Go back via Router API</f7-link>
    </f7-block>
  </f7-page>
</template>
<script>
  export default {};
</script>
